# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-mmbot
_pkgname=maliciousmacrobot
pkgver=78.f5f5478
pkgrel=7
pkgdesc='Powerful malicious file triage tool for cyber responders.'
groups=('blackarch' 'blackarch-malware' 'blackarch-misc')
arch=('any')
url='https://github.com/egaus/MaliciousMacroBot'
license=('MIT')
depends=('python-pandas' 'python-scikit-learn' 'python-scipy' 'python-oletools'
         'python-joblib' 'python-ujson')
makedepends=('git' 'python-setuptools')
source=("git+https://github.com/egaus/$_pkgname.git")
sha512sums=('SKIP')

build() {
  cd $_pkgname

  python setup.py build
}

package() {
  cd $_pkgname

  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

